<?php

class CashTransferPurchasePageLink extends Extension {
	function getCashTransferPurchase(){
        $page = CashTransferPurchasePage::get()->find('ClassName', 'CashTransferPurchasePage');
        if($page) return $page;
    }
    
    function getCashTransferPurchaseLink() {
        $page = $this->getCashTransferPurchase();
        if($page) return $page->Link();
    }
	
    function getCashTransferPurchaseStatement(){
        $page = CashTransferPurchaseStatementPage::get()->find('ClassName', 'CashTransferPurchaseStatementPage');
        if($page) return $page;
    }
    
    function getCashTransferPurchaseStatementLink() {
        $page = $this->getCashTransferPurchaseStatement();
        if($page) return $page->Link();
    }
}
